cmake_minimum_required(VERSION 3.22.1)

project("librtmp")

set(CMAKE_C_FLAGS  "${CMAKE_C_FLAGS} -DNO_CRYPTO")

file(GLOB SRC_FILE *.c)

add_library(
        rtmp
        STATIC
        ${SRC_FILE}
)